8 private GraphModel model
;
9 private GraphFrame frame
;
11 private boolean twoWindows
= false;
12 public Main(String
[] args
){
15 model
= GraphModel
.fromFile(args
[0]);
17 javax
.swing
.JOptionPane
.showMessageDialog(null, "Error reading file!");
18 model
= new GraphModel();
21 model
= new GraphModel();
24 frame
= new GraphFrame(model
);
25 new SelectionController(frame
, model
);
28 //Test code voor 2 vensters!
29 GraphFrame frame2
= new GraphFrame(model
);
30 new SelectionController(frame2
, model
);
37 public static void main(String
[] args
) {